package com.joizhang.seckill.api.redis;

public class GoodsKey extends BasePrefix {

    private GoodsKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static final GoodsKey GOODS_LIST = new GoodsKey(0, "zset:goodids");
    public static final GoodsKey GOODS_DETAIL = new GoodsKey(60 * 60 * 24, "hash:detail");
    public static final GoodsKey GOODS_STOCK = new GoodsKey(60 * 60 * 24, "int:stock");
}
